<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/public/js/contract/lovcy.js"></script>
<script type="text/javascript" src="/public/js/contract/lovcyEmployee.js"></script>
<script type="text/javascript" src="/public/js/common.js"></script>
<script type="text/javascript" src="/public/js/sysparams/validate.js"></script>
<script type="text/javascript" src="/public/bower_components/jquery/jquery.js"></script>
<script type="text/javascript" src="/public/bower_components/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/public/bower_components/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/public/js/customer/addCustomer.js"></script>
<script type="text/javascript" src="/public/js/customer/lovCustomer.js"></script>

<meta charset="UTF-8">
<title>客户新增</title>
</head>
<body>
	<div class="tab">
		<ul class="tabtit" id="projecthome">
			<li class="current">返回列表</li>
		</ul>
	</div>
	<div class="ittab">
				<div class="usein">
					<form id="addDataFormHeader" name="addDataFormHeader">
					<input type="hidden" id="deleteIds" name="deleteIds" />
						<h2 class="mt10">客户新增<b></b></h2>
							<table class="table4"  width="100%" border="1" cellspacing="0" cellpadding="0" >
						<tr>
							<td><span class="red">*</span>客户名称:</td>
							<td >
								<input id="customerName" name="customerName"  type="text" class="input_text w200"/>
							</td>
							<td>联系方式:</td>
							<td >
								<input id="customerPhone" name="customerPhone"  type="text" class="input_text w200"/>
							</td>
						</tr>
						<tr>
							<td>性别:</td>
							<td >
								<input type="radio" name="customerSex" value="男" />男
								<input type="radio" name="customerSex" value="女" />女
							</td>
							<td>年龄:</td>
							<td >
								<input id="customerAge" name="customerAge"  type="text" class="input_text w200"/>
							</td>
						</tr>
						<!-- <tr style="display:none">
							<td>开户行:</td>
							<td >
								<input id="bankAccountName" name="bankAccountName"  type="text" class="input_text w200"/>
							</td>
							<td>银行账号:</td>
							<td >
								<input id="bankAccountNum" name="bankAccountNum"  type="text" class="input_text w200"/>
							</td>
						</tr> -->
						<tr>
							<td>客户类别:</td>
							<td >
								<input id="customerType" name="customerType"  type="text" class="input_text w200"/>
							</td>
							<td>销售员名称:</td>
							<td >
								<input class="input_text w200" style="width: 200px; height: 22px;" name="salesmanId"   id="salesmanId"  type="hidden"  />
								<input class="input_text w200" style="width: 200px; height: 22px;" name="salesmanName"    id="salesmanName"  type="text"  />
							</td>
						</tr>
						<tr>
							<td>户型:</td>
							<td >
								<input id="houseStyle" name="houseStyle"  type="text" class="input_text w200"/>
							</td>
							<td>面积:</td>
							<td >
								<input id="area" name="area"  onblur='validateNum("area")'  value="0"  type="text" class="input_text w200"/>
							</td>
						</tr>
						<tr>
							<td>房屋类型:</td>
							<td >
								<input id="property" name="property"  type="text" class="input_text w200"/>
							</td>
							<td>客户地址:</td>
							<td >
								<input id="customerAddress1" name="customerAddress1"  type="text" class="input_text w200"/>
							</td>
						</tr>
						<tr style="display:none">
							<td>客户地址二:</td>
							<td >
								<input id="customerAddress2" name="customerAddress2"  type="text" class="input_text w200"/>
							</td>
							<td>客户地址三:</td>
							<td >
								<input id="customerAddress3" name="customerAddress3"  type="text" class="input_text w200"/>
							</td>
						</tr>
						<tr>
							<td>备注:</td>
							<td colspan="3">
								<input id="remark" name="remark"  type="text" class="input_text w200"/>
							</td>
						</tr>
					</table>
					</form>
				</div>
		</div>
	
		<div class="usein" align="center">
			<a href="javascript:;" class="add btn btn-primary ml10 funcbtn add_user">保存</a>
			<a href="javascript:;" class="empty btn btn-danger ml10 funcbtn select_user"> 取消</a>
		</div>
		

<!-- 弹出窗口 -->
<div id="user_dialogbox" class="pop">
	<div class="usein">
		<h2 class="mt10">基本信息<b></b></h2>
		<table class="table4" width="100%" border="0" cellspacing="0" cellpadding="0" >
			<tr>
				<td>供应商名称</td>
				<td class="tl">
					<input id="vendorNameLov" type="text" class="input_text w200"/>
				</td>
				<td>供应商联系人</td>
				<td class="tl">
					<input id="vendorContactNameLov" type="text" class="input_text w200"/>
				</td>
				<td class="tl">
					<a href="javascript:;" class="check btn btn-info ml10 funcbtn select_user">查询</a>
				</td>
			</tr>
		</table>
	</div>
	<div >
	<table class="easyui-datagrid" id="customerGrid"></table>
	</div>
</div>


<!-- 弹出窗口 -->
<div id="buyer_dialogbox" class="pop">
	<div class="usein">
		<h2 class="mt10">基本信息<b></b></h2>
		<table class="table4" width="100%" border="0" cellspacing="0" cellpadding="0" >
			<tr>
				<td>姓名</td>
				<td class="tl">
					<input id="employeeNameQuery" type="text" class="input_text w200"/>
				</td>
				<td class="tl">
					<a href="javascript:;" class="buyerQuery btn btn-info ml10 funcbtn select_user" id='buyerQuery'>查询</a>
				</td>
			</tr>
		</table>
	</div>
	<div >
	<table class="easyui-datagrid" id="buyerGrid"></table>
	</div>
</div>

<!-- 物料类别弹出窗口 -->
<div id="materielType_dialogbox" class="pop">
	<div class="usein">
		<h2 class="mt10">基本信息<b></b></h2>
		<table class="table4" width="100%" border="0" cellspacing="0" cellpadding="0" >
			<tr>
				<td>物料类别名称</td>
				<td class="tl">
					<input id="materielTypeName" type="text" class="input_text w200"/>
				</td>
				<td>备注</td>
				<td class="tl">
					<input id="remark" type="text" class="input_text w200"/>
				</td>
				<td class="tl">
					<a href="javascript:;" class="copy btn btn-info ml10 funcbtn select_user">查询</a>
				</td>
			</tr>
		</table>
	</div>
	<div >
	<table class="easyui-datagrid" id="materielTypeGrid"></table>
	</div>
</div>

</html>